package com.dms.modules.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户行为统计实体类
 */
@Data
@TableName("user_behavior_stats")
@ApiModel("用户行为统计")
public class UserBehaviorStats {
    
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;
    
    @ApiModelProperty("用户ID")
    private Long userId;
    
    @ApiModelProperty("分类ID")
    private Long categoryId;
    
    @ApiModelProperty("行为类型")
    private String behaviorType;
    
    @ApiModelProperty("行为次数")
    private Integer count;
    
    @ApiModelProperty("最后行为时间")
    private LocalDateTime lastTime;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;
    
    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
} 